#ifndef MODIFIES_H
#define MODIFIES_H

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;

class Modifies {
private:
	//declare 2d table
	static vector<vector<int>> stmModifiedTable;
	static vector<vector<int>> varModifiedTable;


public:
	Modifies();
	static void setStmModified(int stmNum, int var);
	static void setVarModified(int var, int stmNum);
	static vector<int> getStmModified(int stmNum);
	static vector<int> getVarModified(int var);
	static bool isModified (int stmNum, int var);
	//void setModifiesRelationProc(int, int); 
	//(int procIndex, int varIndex) not needed for CS3201
	//bool isModifiesRelationProc(int, int);
	//int getModifierProc(int);
	//int getBeingModifiedProc(int);
};
#endif